﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace FilmoviMVC.Models
{
    public class Film
    {
        public string Ime { get;set; }
        public int ID { get; set; }
        public DateTime DatumPremijere { get; set; }
        public string Zanr { get; set; }
        public string Opis { get; set; }
        public decimal Cena { get; set; }
    }

    public class FilmDBContext : DbContext
    {
        public DbSet<Film> Filmovi {get;set;}
    }

}